package cn.itcast.bos.action;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import cn.itcast.bos.domain.Workordermanage;

@Controller
@Scope("prototype")
public class WorkordermanageAction extends BaseAction<Workordermanage> {

	public String save(){
		workordermanageService.save(model);
		return NONE;
	}
	
	//分页显示工作单
	public String pageQuery(){
		workordermanageService.pageQuery(pageBean);
		this.writePageBeanToJson(pageBean, new String[]{"currentPage","pageSize"});
		return NONE;
	}
}
